
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="">
    <meta name="author" content="Dodd">

    <title>User Home</title>

    <!-- Bootstrap core CSS -->
    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="css/home.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="css/bootstrap-datetimepicker.min.css">
  </head>

  <body ng-app="myApp">
    <div class="progress progressbar">
      <div id="progressbar" class="progress-bar progress-bar-success progress-bar-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 00%">
      </div>
    </div>
    <nav class="navbar navbar-inverse navbar-fixed-top" ng-controller="navCtrl">
      <div class="container-fluid">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="#">Training-Lab</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="">{{ user.uname }}</a></li>
            <li><a href="#/nav">Nav</a></li>
            <li><a href="javascript:void(0)" onclick="logout();">Logout</a></li>
          </ul>
        </div>
      </div>
    </nav>

    <div class="container-fluid">
      <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
          <ul class="nav nav-sidebar">
            <li id='homeli'><a href="#/home">Home</a></li>
            <li id='courseli'><a href="#/course">Course</a></li>
            <li id='attendanceli' ><a href="#/attendance">Attendance</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li id='addquestionli' ><a href="#/addquestion">Add Question</a></li>
            <li id='questionli' ><a href="#/question">Question List</a></li>
            <li id='maketestli' ><a href="#/maketest">Make Test Paper</a></li>
            <li id='testpaperlistli' ><a href="#/testpaperlist"> Test Paper List</a></li>
            <li id='examli' ><a href="#/exam"> Add Exam</a></li>
            <li id='examlistli' ><a href="#/examlist">Exam List</a></li>
            <li id='resultli' ><a href="#/result">Result Report</a></li>
          </ul>
          <ul class="nav nav-sidebar">
            <li id='studentexamlistli' ><a href="#/studentexamlist">Student Exam List</a></li>
          </ul>
        </div>
        <div ng-view class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"></div>
      </div>
    </div>

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="js/jquery-3.0.0.min.js"></script>
    <script src="js/angular.min.js"></script>
    <script type="text/javascript" src="js/angular-route.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="js/bootstrap-datetimepicker.min.js"></script>
    <script type="text/javascript" src="js/config.js"></script>
    <script type="text/javascript" src="js/home.js"></script>
  </body>
</html>
